
import request from "@/request/api";
/* 重大问题 */
//查询分页列表
export function getListApi(data) {
    return request({
        url: "/eam-service-order/question/queryVoPageList",
        method: "get",
        params: data,
    });
}
//删除
export function deleteApi(id = "") {
    return request({
        url: "/eam-service-order/question/deleteById",
        method: "delete",
        params: {id},
    });
}
//查询详情
export function getDetailsApi(id = "") {
    return request({
        url: "/eam-service-order/question/queryById",
        method: "get",
        params: {
            id
        },
    });
}
//新增
export function insertOrUpdateApi(data) {
    return request({
        url: "/eam-service-order/question/insertOrUpdate",
        method: "post",
        data: data,
    });
}
// //修改
// export function updateApi(data) {
//     return request({
//         url: "/eam-service-order/equipmentChange/update",
//         method: "post",
//         data: data,
//     });
// }